powered by
Density of the multivariate Cauchy distribution.
dmvcauchy(x, mu, sigma, logged = FALSE)
A numerical vector with the density values calculated at each vector (row of the matrix x).
A numerical matrix with the data. The rows correspond to observations and the columns to variables.
The mean vector.
The scatter matrix.
Should the logarithm of the density be returned (TRUE) or not (FALSE)?
Michail Tsagris.
R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.
The (log) density of the multivariate Cauchy distribution is calculated for given mean vector and covariance matrix.
Kanti V. Mardia, John T. Kent and John M. Bibby (1979). Multivariate analysis. Academic Press, London.
rmvcauchy
x <- as.matrix(iris[, 1:4]) mod <- mvcauchy.mle(x) m <- mod$location s <- mod$scatter a <- dmvcauchy(x, m, s)
Run the code above in your browser using DataLab